<?php
namespace app\common\validate;

use think\Validate;

class Car extends Validate
{
    protected $rule = [
        'car_name|座驾名'  =>  'require',
        'price|价格'  =>  'require|integer',
        'thumbnail|缩略图'  =>  'url',
    ];
}